<?xml version="1.0" encoding="UTF-8" ?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml"
      xmlns:ui="http://java.sun.com/jsf/facelets"
      xmlns:h="http://java.sun.com/jsf/html"
      xmlns:f="http://java.sun.com/jsf/core">

    <ui:composition template="/template.xhtml">
        <ui:define name="title">
            <h:outputText value="#{bundle.EditUserloginaccountTitle}"></h:outputText>
        </ui:define>
        <ui:define name="body">
            <h:panelGroup id="usedmessagePanel" layout="block">
                <h:messages errorStyle="color: red" infoStyle="color: green" layout="table"/>
            </h:panelGroup>
            <h:form>
                <h:panelGrid columns="2">
                    <h:outputLabel value="#{bundle.EditUserloginaccountLabel_rolle}" for="rolle" />
                    <h:selectOneMenu id="rolle" value="#{userloginaccountController.selected.rolle}" title="#{bundle.EditUserloginaccountTitle_rolle}" >
                        <f:selectItems value="#{rollenController.itemsAvailableSelectOne}"/>
                    </h:selectOneMenu>
                    <h:outputLabel value="#{bundle.EditUserloginaccountLabel_scrumteam}" for="scrumteam" />
                    <h:selectOneMenu id="scrumteam" value="#{userloginaccountController.selected.scrumteam}" title="#{bundle.EditUserloginaccountTitle_scrumteam}" >
                        <f:selectItems value="#{scrumteamController.itemsAvailableSelectOne}"/>
                    </h:selectOneMenu>
                    <h:outputLabel value="#{bundle.EditUserloginaccountLabel_loginid}" for="loginid" />
                    <h:inputText id="loginid" value="#{userloginaccountController.selected.loginid}" title="#{bundle.EditUserloginaccountTitle_loginid}" required="true" requiredMessage="#{bundle.EditUserloginaccountRequiredMessage_loginid}"/>
                    <h:outputLabel value="#{bundle.EditUserloginaccountLabel_vorname}" for="vorname" />
                    <h:inputText id="vorname" value="#{userloginaccountController.selected.vorname}" title="#{bundle.EditUserloginaccountTitle_vorname}" />
                    <h:outputLabel value="#{bundle.EditUserloginaccountLabel_nachname}" for="nachname" />
                    <h:inputText id="nachname" value="#{userloginaccountController.selected.nachname}" title="#{bundle.EditUserloginaccountTitle_nachname}" />
                    <h:outputLabel value="#{bundle.EditUserloginaccountLabel_email}" for="email" />
                    <h:inputText id="email" value="#{userloginaccountController.selected.email}" title="#{bundle.EditUserloginaccountTitle_email}" required="true" requiredMessage="#{bundle.EditUserloginaccountRequiredMessage_email}"/>
                    <h:outputLabel value="#{bundle.EditUserloginaccountLabel_passwort}" for="passwort" />
                    <h:inputText id="passwort" value="#{userloginaccountController.selected.passwort}" title="#{bundle.EditUserloginaccountTitle_passwort}" required="true" requiredMessage="#{bundle.EditUserloginaccountRequiredMessage_passwort}"/>
                </h:panelGrid>
                <h:commandLink action="#{userloginaccountController.update}" value="#{bundle.EditUserloginaccountSaveLink}"/>
                <br />
                <br />
                <h:commandLink action="View" value="#{bundle.EditUserloginaccountViewLink}" immediate="true"/>
                <br />
                <h:commandLink action="#{userloginaccountController.prepareList}" value="#{bundle.EditUserloginaccountShowAllLink}" immediate="true"/>
                <br />
                <br />
                <h:commandLink value="#{bundle.EditUserloginaccountIndexLink}" action="/index" immediate="true" />
            </h:form>
        </ui:define>
    </ui:composition>

</html>
